home *** CD-ROM | disk | FTP | other *** search
/ FM Towns: Free Software Collection 11 / FM Towns Free Software Collection 11.iso / t_os / tool / dolmorph / src / points.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-03  |  806 b   |  31 lines

  1. #include "fifo.h"
  2. #include "image.h"
  3.  
  4. #ifndef    MODULE_POINTS
  5.     extern    int    idPointsWin ;
  6.     extern    int    idPointsTitleDBtn ;
  7.     extern    int    idPointsTitleMsg ;
  8. #endif
  9.  
  10. int    init_points(void);
  11. void end_points(void);
  12.  
  13.  
  14. void points_loadImage(int n);
  15. /* n: 0=A側   1=B側 */
  16.  
  17. int        points_makeMorphPoints(LIST *plPOINT, LIST *plLINE);
  18. int        points_checkMorphImages(void);
  19. void    points_getImageSize(int *pwid,int *pht);
  20. void    points_whereis(int scrx, int scry, int *side, int *n);
  21. void    points_storeImage(int side, IMAGE *im);
  22. int        points_checkLoadPoints(void);
  23. void    points_loadPoints(void);
  24. int        points_checkSavePoints(void);
  25. void    points_savePoints(void);
  26. int        points_checkClearPoints(void);
  27. void    points_clearPoints(void);
  28.  
  29. #define    POINTS_IMAGE_NO_THERE        -1
  30. #define    POINTS_IMAGE_MISMATCH_SIZE    -2
  31.